package at.fhooe.engine.event.events;

import at.fhooe.engine.event.EventListener;

public class GamePauseEvent extends Event {

	public static final String TYPE = "GamePause";
	
	public GamePauseEvent() {
		super(TYPE);
	}

	@Override
	public void processEvent(EventListener eventListener) {
		((Listener) eventListener).onGamePauseEvent(this);
	}
	
	//embedded listener interface with the specific function call
	public interface Listener extends EventListener {
		public void onGamePauseEvent(GamePauseEvent gamePauseEvent);
	}
}
